package com.example.answer_staff;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class ActivaSucessActivity extends Activity{

	private Button back_to_Logi;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activat_success) ;
	
		setupView();
		setListeneers();
	}

	private void setListeneers() {
		back_to_Logi.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View arg0) {
				startActivity(new Intent(ActivaSucessActivity.this,LoginActivity.class));
				finish();	
			}
		});

	}

	private void setupView() {
		back_to_Logi=(Button)findViewById(R.id.back_to_Login);
	}



}
